/*
 * Group 3, User Interface Programming II (vt11)
 * Pooya | Flora | Monica | Can
 */
package vical.view.tutorial.action;

import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import vical.model.Internationalization;
import vical.view.tutorial.*;

/**
 * The action to perform a tutorial of navigation

 * @author Can
 */
public class TutorialNavigationAction extends AbstractAction {
    
    TutorialContainer container;
    
    public TutorialNavigationAction(TutorialContainer container) {
        // TODO: Monica, language
        //super(LanguageManager.getString(""));
        super("How to navigate among views and dates?");
        this.container = container;
    }
    
    public void actionPerformed(ActionEvent e) {
        container.setGlassTutorial(new TutorialNavigation(container));
    }
}
